package com.example.springioc.component;

import org.springframework.stereotype.Component;

/**
 * ClassName: UserComponent
 * Package: IntelliJ IDEA
 * Description:
 *
 * @Author 谷京京
 * @Create 2023/11/4 10:53
 * @Version 1.0
 */
//修改bean的name, @Component("user_component")
    //修改之后,
@Component("user_component")
public class UserComponent {
    public void doComponent() {
        System.out.println("do component..");
    }
}
